package com.anxuan.demo.Aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class Aop1 {


    public void before(){
        System.out.println("--before");
    }

    public void after(){
        System.out.println("--after");
    }

    public void around(ProceedingJoinPoint joinPoint) throws Throwable {
        System.out.println("==before");
        joinPoint.proceed();
        System.out.println("==after");
    }
}
